PC-Type II (tm) A Word Processor for the IBM PC Version 1.0 Author: Richard W. Earl ISBN 0-922692-23-8 ButtonWare, Inc. P.O. Box 96058 Bellevue, WA 98009 (c) Copyright 1985,86,89 ButtonWare Inc. (c) Copyright 1985,86,89 WyndhamWare All Rights Reserved 1 0.1 COPYRIGHT NOTICE PC-Type II Version 1.0 (c) Copyright 1985,86,89 ButtonWare Inc. (c) Copyright 1985,86,89 WyndhamWare All Rights Reserved No part of this manual may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language, natural or computer, in any form or by any means, without the prior written permission of ButtonWare, Inc. The software described in this manual is protected by copyright laws. Information in this manual is subject to change without notice and does not represent a commitment on the part of ButtonWare, Inc. ButtonWare may make improvements and/or changes in this manual or in the product(s) and/or the program(s) described in this manual at any time. This product could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes may be incorporated in new editions of the publication. PC-Type II, PC-Type+, PC-Type, PC-Calc+, PC-File+, and PC-File:dB are trademarks of ButtonWare, Inc. PC-File, PC-File+, PC-Calc, PC-Dial, PC-Type, PC-Tickle, PC-Stylist, and Baker's Dozen are registered trademarks of ButtonWare, Inc. 2 0.2 PHONE NUMBERS (800) J-BUTTON Toll free order line All 50 states, except Washington Does not include Canada (206) 454-0479 ButtonWare business line 9 a.m. to 5 p.m. Pacific Time Monday through Friday (206) 454-2629 Bulletin Board 5 p.m. to 8 a.m. Pacific Time Monday through Friday 24 hours weekends and holidays (206) 454-1838 FAX line (24 hours) 3 Because of the special formatting that was used to create the manual, we are unable to provide a table of contents to the manual on disk. The printed manual that is provided when you receive a registered copy of PC-Type II includes a full table of contents. 4 1.0 INTRODUCTION 1.1 WELCOME TO PC-Type II PC-Type II is packed with features, but is still easy to use. It is sure to have many features you have often wished for but could never find in a word processor before. Here is a summary of PC-Type II features: ù MAIL-MERGE - that allows you to do volume mailings. This feature lets you nest separate files with INCLUDE and IF statements. Source options allow you to use the keyboard input, PC-File+ and PC-File:DB databases, ASCII flat files and comma-delimited (Wordstar) files, as well as PC-Calc data. You may even perform date and time arithmetic. ù FAULT FINDER - that catches misspelled words and offers substitute suggestions. It will also catch the same word used more than once in succession. It includes a dictionary of about 100,000 words to which you can add your own words and delete words you don't want. There is even a program to help you with your newspaper Crossword and Scramble puzzles. ù GRAPHING - you may take your tables of data to create bar and pie charts or line and scatter diagrams. Multiple variables may be graphed and accumulated and even displayed logarithmically. It truly offers numerous possibilities. ù MULTIPLE WINDOWS - you may work with up to ten different files in up to four different windows, or look at different parts of the same file in different windows. ù HELP - is context sensitive and provides a good overview of PC-Type II features. ù MENUS - can take you through nearly every PC-Type II function. ù COMMANDS - are available for the power users. Up to ten of the last commands are saved for later reuse. ù CALCULATE - equations as commands or values in your text. Even hexadecimal entries are supported. ù DRAW - boxes and lines. PC-Type II will automatically insert the intersection characters. ù KEYSTROKE MACROS - which memorize your keystrokes may be saved and modified. These macros may call other macros or call themselves. Twenty-five macros can be active at a time. 5 ù TABS, MARGINS and INDENTS - may be multiply defined within your files, as well as single, double, and triple spacing. ù MOVE and COPY - lines, paragraphs, sentences, words, and best of all, BLOCKs of text within or between files. ù SEARCH and REPLACE for both case sensitive and case insensitive targets. You may even restrict the columns to be considered. ù ALIGN and SORT - columns of data. ù DOS - commands generally available from within PC-Type II. ù LINE NUMBERING and STRING REPLICATION - may be inserted in lines as defined. ù WHOOPS - key to recover modified or deleted lines. ù DATABASE and SPREADSHEET DATA - may be pulled in as required from PC-File+, PC-File:dB and PC-Calc+. (Or even from flat file databases or comma-delimited files). ù GET and EDIT - all or parts of other text files. ù SAVE - all or parts of files during editing or when done. Multiple backup options are provided. ù HEADERS and FOOTERS - may be modified within the file. They support time and date options, page numbering, and even/odd page specifications. They may be turned on and off as desired. ù PAGINATION - may be specified, conditional, or automatic. ù PRINT - features have been streamlined. You may even print marked areas of your files. Up to 19 Escape code sequences may be defined for your printer. ù DATE and TIME - stamps are easily accessed. ù BOOKMARKS - may be placed in four separate locations per file and moved as wanted. ù CROSSHAIRS - allow you to visually line up columns and rows. ù COLORS - may be defined per user's tastes. 6 ù PC-LABEL - is included to speed up label processing. ù CUSTOMIZE - PC-Type II to fit a variety of needs by saving defaults to separate files to be pulled in as needed. You may even save multiple files of import definitions, keystroke macros, and printer escape code definitions. ù COMPATIBILITY - is provided between PC-Type II and PC-Calc+, PC-File+, and PC-File:dB. Numerous other features are available within PC-Type II and all have been carefully planned to make your work easier and your time more productive. We're excited about the new PC-Type II, and we think you will be also! 7 1.2 MANUAL LAYOUT This version of PC-Type II is distinctly different from previous versions. While every effort has been made to keep the flavor of previous versions, there are many new features and ways of performing functions. This manual should assist you in making the most of PC-Type II. The manual is broken into three main parts. Part I: This part should be read in its entirety. It is here that the installation instructions and the overview of PC-Type II are located. This part does not go into a lot of detail about the various functions and programs, but is meant to give you a feeling for what can be done and a general feeling of how to do it. Section 2.0, "GETTING STARTED", describes many of the features of PC-Type II you should become familiar with. Section 3.0, "USING PC-Type II", takes you quickly through the general technique of using PC-Type II for your day to day needs. Part II: This is the heart of the document and it is here that each function and program provided is described in detail. Most PC-Type II functions may be performed through menu selections. We therefore direct your attention to section 5.0, "PC-Type II Functions". This largest section in the entire manual, is set up to match the menus themselves. Each new sub-menu contains the page numbers describing the options of the menu. You can find your way through the manual just as you would through the menus. In addition, a "Menus Summary" is provided in section 1.0 of this part. Other sections define PC-Type II commands, parameters to use when starting PC-Type II from DOS, Mail-Merge, and other programs to be used in conjunction with PC-Type II. A keystroke summary is also provided. Part III: This part contains all the appendices of the manual. Here you will find a Glossary of terms, PC-Type II technical information and performance hints, and an Index. 8 1.3 PC-TYPE+ COMPATIBILITY The previous version of PC-Type, (PC-Type+), is compatible with the new PC-Type II. However, if a PC-Type+ file contained Special Lines, print markers, or relative or absolute page breaks, then a preamble must be placed in front of the old file so that these special markers will be recognized. The CNB.BAT file is provided to place this preamble in front of your old PC-Type+ files. In addition, the file extension of these files will be changed to PCT. (See section 7.7 in PART II of this document for a description of the conversion process.) The new PC-Type II distinguishes between a document file (which has an extension of .PCT) and a standard ASCII file which has any other (or no) file extension. Remember that unless your old file has the markers mentioned above, then no conversion is required at all. In general, the new PC-Type II will be able to read any standard ASCII file (a file containing lines of information with a carriage return and line feed after each line). The program CNVPRN.EXE is also included in your utilities to convert PC-Type+ printer escape codes to their new format. If you spent a lot of time struggling with your printer manual, you may find this program useful. (See section 7.8 in Part II of this document for further details.) 1.4 SYSTEM REQUIREMENTS PC-Type II has been written to run on the IBM PC, PS/2 and all compatible machines. It will run with DOS version 2.0 or later. PC-Type II is a large program and has a number of support files such as the HELP file, the DICTIONARY file, and the PROFILE file. In addition, the program itself must be constantly available so that different portions of it can be loaded as the need arises. For these reasons, it is recommended that you run PC-Type II from a hard disk. Minimum disk configurations would be one hard disk and one floppy, or two 3« inch floppies. Because of the size of PC-Type II itself, it is recommended that you have installed at least 384K RAM memory. The more memory you have, the larger the files you will be able edit. 9 1.5 DISTRIBUTION DISKS' CONTENTS PC-Type II is distributed with an INSTALL.EXE program which decompresses the files PCT1, PCT2, and PCT3 and places the uncompressed files onto your hard disk. When this operation is completed, the following files will have been moved to your disk: PCT.EXE PC-Type II program PCT.HLP PC-Type II help screens PCTYPE.DIC PC-Type II dictionary file PCTYPE.PRO Default profile file CN.EXE PC-Type+ conversion program CNB.BAT Calls CN.EXE CNVPRN.EXE PC-Type+ printer escape code conversion program DESC.EXE .PCT report program MSHERC.COM HERCULES adapter program PCG2.EXE Graphics program PCLABEL.EXE Label program PCMERGE.EXE Dictionary update program SCRAMBLE.EXE Unscramble words program XWORD.EXE Crossword Puzzle program READ.ME Latest information about PC-Type II ORDER Order form for ButtonWare products RESPONSE User response form Default printer files BROTHER.PRN CITOH-78.PRN CITOH-AF.PRN DIABLO-6.PRN EPSON.PRN HP-BFONT.PRN NEC-SPIN.PRN PRO-PRNT.PRN QUME.PRN TOSHIBA.PRN Tutorial files SAMPLE.CM2 SAMPLE.CMD SAMPLE.CRS SAMPLE.ESC SAMPLE.IMP SAMPLE.INS SAMPLE.MAC SAMPLE.MSC SAMPLE.PCT SAMPLE.TXT SAMPLE.WS Demo files DEMO.BAT DEMO.MAC DEMO.PCT These files will be placed on your hard disk where they will facilitate PC-Type II operation. You may, of course, erase those you do not want and move the rest wherever you wish. The files will normally be placed in a subdirectory called PCTYPE on the drive you specify. NOTE: If you are configured with two 3« inch floppy disk drives, the above files will be copied onto 10 three disks. 2.0 GETTING STARTED 2.1 INSTALLING PC-Type II 2.1.1 THE INSTALL PROGRAM The programs and files on your distribution disk have been compressed. The INSTALL.EXE program on your "Program Disk" will decompress these files and place them on your hard disk. To run the INSTALL program, perform the following steps: (1) Place the "Program disk" (disk 1) in your source drive. (Normally this would be your A drive). (2) Type "A:INSTALL" (with no quotation marks) after the DOS prompt as shown below. (If "A" is not your source drive, substitute the correct drive designation.) C>a:install (3) Follow the instructions to install the PC-Type II programs and files onto your hard disk. They are normally placed in a subdirectory named PCTYPE on a drive of your choice. However, you may specify a different subdirectory name if you wish. If you have a PATH statement in your AUTOEXEC.BAT file, INSTALL.EXE asks you if you want some files moved to a directory in your PATH statement. If you answer YES you will be presented with a list of the path directories. When you choose the desired path directory, the files will be moved. The files wõhich would be moved would be: PCT.EXE PCTYPE.PRO CN.EXE DESC.EXE PCT.HLP CNVPRN.EXE PCG2.EXE CNB.BAT MSHERC.COM PCLABEL.EXE If you have problems using the INSTALL.EXE program, or wish to install PC-Type II manually, then: (1) Make a new subdirectory called PCTYPE on the desired drive: e.g., C>MD d:\PCTYPE (2) Copy the file EXTRACT.EXE from the Program Disk. (3) Run the program three times as: C>EXTRACT a:PCT1 (Program Disk) C>EXTRACT a:PCT2 (Dictionary Disk) C>EXTRACT a:PCT3 (Utility Disk) (4) Read the file READ.ME. (5) Move the files to other locations as you please. NOTE: If your PC disk configuration is two 3« inch 11 floppies, refer to the directions in the READ.ME file on your Program distribution disk. 12 2.1.2 SETTING YOUR DEFAULT CONFIGURATION Now that PC-Type II is installed on your hard disk, you may want to set some of the configuration defaults. When the install program is finished, you will be in the same directory as PC-Type II. Therefore, to set your defaults: (1) Type "PCT" after the DOS prompt (do not type the quotes). This starts PC-Type II. (2) Press F2 to bring up the Main Menu. (3) Select the "(C)onfigure" option by pressing C. This will cause the menu below to be displayed. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³CONFIGURATION settings: ³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ ³ (B)ox characters ³ ³ (C)olors ³ ³ (D)ate options ³ ³ (E)scape codes ³ ³ (F)ile handling ³ ³ (G)raphics port ³ ³ (H)eader/Footer ³ ³ (I)mport default ³ ³ (M)odify default tabs ³ ³ (O)rder of chars for sort³ ³ (P)rint ³ ³ (1) printer translation ³ ³ (R)eset special chars ³ ³ (S)witches ³ ³ (T)ime options ³ ³ (U)pper/lower case ³ ³ e(X)it ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ (4) Modify the Configuration options to suit your taste. At this point, you will probably only want to change: (C)olors - press C (E)scape codes - press E (M)odify default tabs- press M (S)witches - press S All configuration settings are described in detail in section 5.4 of PART II of this manual. (Turn to page 107 for details.) When you exit the Configuration Menu, if you made modifications you will be asked if you want to save them. If you do, answer yes. Then select the path provided and the file PCTYPE.PRO. 13 2.2 THINGS TO KNOW ABOUT PC-Type II 2.2.1 HELP WINDOWS When you start PC-Type II, it looks for the file PCTYPE.HLP. (1) First it checks to see if you specified this file's location with a DOS parameter. (2) If not, it next looks in the default directory. (3) If it cannot find the file in either of these two locations, and you are running with DOS version 3.0 or greater, then the help file will be looked for in the directory where PCT.EXE itself exists. (4) If it cannot be found there either, PC-Type II will finally look for PCTYPE.HLP in one of the subdirectories defined in your PATH= command. (5) If it cannot be found there either, then no HELP will be available. Assuming the file is found, then help will always be available during your PC-Type II session by pressing the F1 key. The type of help provided depends upon where the cursor is located or what function you are performing. NOTE: You may always escape from HELP by pressing the Esc key. (1) If the cursor is in the text you are editing, and you are not performing any special function, then by pressing F1 you will be placed in the primary help mode. In this mode you are presented with a series of HELP windows which you may cycle through by pressing the PgUp or PgDn keys. These windows describe all the special PC-Type II keystrokes, how to create and run macros, PC-Type II commands, and DOS parameters to use when starting PC-Type II. (2) If the cursor is in the Command Line, the HELP window displays all the commands which you may execute from the Command Line. (3) If you are in the process of performing a special function such as defining configuration parameters, defining sort keys, etc., then the HELP windows will display information relative to that function. At the top of each HELP window for (2) and (3), a page number is provided. By turning to that page number in this manual you will find a more detailed description of the function you are performing. 14